home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / 3b2-faq / part2 < prev    next >
Encoding:
Text File  |  1993-06-21  |  24.2 KB  |  653 lines

  1. Newsgroups: comp.sys.att,news.answers,comp.answers
  2. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!usc!howland.reston.ans.net!agate!dog.ee.lbl.gov!network.ucsd.edu!news.acns.nwu.edu!nucsrl!gagme!gagme!greg
  3. From: greg@gagme.chi.il.us (Gregory Gulik)
  4. Subject: AT&T 3B2 Frequently Asked Questions - Part 2/2
  5. Message-ID: <3B202-faq_930620222630@gagme.chi.il.us>
  6. Followup-To: comp.sys.att
  7. Originator: greg@gagme
  8. Lines: 636
  9. Sender: usenet@serveme.chi.il.us
  10. Supersedes: <3B202-faq_930520153217@gagme.chi.il.us>
  11. Organization: GAGME Public Access UNIX, Chicago, Illinois, USA
  12. Date: Mon, 21 Jun 1993 03:28:07 GMT
  13. Approved: news-answers-request@MIT.Edu
  14. Xref: senator-bedfellow.mit.edu comp.sys.att:17470 news.answers:9629 comp.answers:1080
  15.  
  16. Archive-name: 3b2-faq/part2
  17.  
  18. ------------------------------------------------------------------------------
  19. Subject: 17 What are the pinouts of those phone-like serial connectors?
  20. ------------------------------------------------------------------------------
  21.  
  22. The connectors 3B2's use are called RJ-45.  They are 8 conductor
  23. telephone like connectors, and lucky for us, are pretty standard.  You
  24. can either buy the cables and connectors from AT&T for an arm and a
  25. leg, or elsewhere.  I don't know about the cables, since I've never
  26. bought them from anyone but AT&T, but I have made my own RS-232
  27. connectors with excellent results.
  28.  
  29. The following is an excellent description of the RJ-45 port on the 3B2:
  30.  
  31. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  32.  
  33. Looking into the 8 pin modular RJ-45 jack you'll see that pin 1 should
  34. be on the right.
  35.  
  36.     Diagram of what you should see when looking
  37.     at an 8 PIN modular jack connector.
  38.  
  39.                +----------+
  40.                | 87654321 | 
  41.                |          |
  42.                +--+    +--+
  43.                   |    |
  44.                   +----+
  45.  
  46. Ok, not all 3B2 8 pin modular jack connectors are created "EQUAL".
  47. These beasties are used for running StarLan 1MBit, EPORTS cards,
  48. PORTS cards, as well as for running ETHERNET 10MBits as well.
  49.  
  50. The pin outs for the two modular jack cables on the back of the
  51. 3B2, as well as for the PORTS card should be as follows:
  52.  
  53.      PIN     Lead           Direction             Explanation
  54.     =====  ==========     =============         ========================
  55.       1     PROT GRD                              Ground
  56.       2     reserved                              Not Connected
  57.       3     TXD0            Out                   Transmit Data
  58.       4     DTR0            Out                   Data Terminal Ready
  59.       5     RXD0            In                    Receive Data
  60.       6     DCD0            In                    Data Carrier Detect
  61.       7     SIG GRD                               Signal Ground
  62.       8     reserved                              Not Connected
  63.  
  64. The 2 modular jacks on the back of your machine should be labeled
  65. console and contty.  If your talking about a PORTS card, here is
  66. what one looks like:
  67.  
  68.      Centronics connector
  69.      for Parallel Printer
  70.           |
  71.          \|/
  72.      +------------+     +----+    +----+    +----+   +----+
  73.       \          /      |    |    |    |    |    |   |    |
  74.        \________/       +-__-+    +-__-+    +-__-+   +-__-+
  75.  
  76.                            ^         ^        ^        ^
  77.                           The above 4 RJ45 connectors are for
  78.                         plugging serial terminals into your 3B2.
  79.  
  80. The EPORTS card is card that has 8 RJ45 connectors (8 pin modular
  81. jacks) on it.  This card is where you would want to plug a high
  82. speed modem onto your system, because the above connectors DO NOT
  83. SUPPORT HARDWARE FLOW CONTROL.  The PIN OUTS for the EPORTS card
  84. are as follows:
  85.    
  86.      PIN     Lead           Direction             Explanation
  87.     =====  ==========     =============         ========================
  88.       1     PROT GRD                              Ground
  89.       2     CTS             Out                   Clear to Send
  90.       3     TXD0            Out                   Transmit Data
  91.       4     DTR0            Out                   Data Terminal Ready
  92.       5     RXD0            In                    Receive Data
  93.       6     DCD0            In                    Data Carrier Detect
  94.       7     SIG GRD                               Signal Ground
  95.       8     RTS             In                    Request to send
  96.  
  97. * NOTES:
  98.  
  99. CTS & RTS (if you have them).
  100.     Most 3B2 systems need to do the following to enable hardware
  101.     flow control.  Otherwise the 3B2 will ignore RTS & CTS.
  102.     Also see the FAQ item about handing high speed modems on
  103.     EPORTS cards for more detailed information.
  104.  
  105.     epstty hfc    <-- XON/XOFF flow control must be disabled
  106.               before you do this.  The stty command is
  107.               one way to disable XON/XOFF.  Line
  108.               DISCIPLINES are another way to do this.
  109.               See etc/gettydefs file.
  110.  
  111. DTR0 notes. {3B2 uses this to signal DISCONNECT}
  112.  
  113.     When the 3B2 is active on the port  (waiting for someone
  114.     to logon to the port or whatever.), DTR is active.   When
  115.     the 3B2 wishes to DISCONNECT (ie, too many wrong passwords,
  116.     or the user logs off the port), it will lower DTR momentarily.
  117.     If you are trying to get a modem to work, you might want
  118.     the modem to DISCONNECT the user when DTR is dropped..
  119.  
  120. DCD0 notes. {Used to tell 3B2 that the user has DROPPED CARRIER}
  121.  
  122.     When the DCD is set inactive, the 3B2 will assume that the
  123.     user has either turned off the terminal, or dropped carrier.
  124.     If this occurs, the user is logged off the system, and
  125.     background tasks are aborted.  If DCD is inactive, be
  126.     aware that NONE of the standard AT&T provided utilities
  127.     are capable of sending anything to the device.  There is
  128.     a way to get around this in the more recent releases of
  129.     the 3B2's OS.  See your admin documentation for details.
  130.  
  131.     Otherwise, in the case of a MODEM, when the user drops
  132.     carrier, you want the modem to "momentarily" lower this
  133.     DCD0 just long enough for the 3B2 to realize that the user
  134.     has dropped carrier.  The modem should then Re-ENABLE DCD0,
  135.     so that the 3B2 will be able to send data to the modem.
  136.     {needed for cu, and outbound UUCP to work correctly in
  137.     older releases of the OS}
  138.  
  139.     Most semi-decent modems are capable of handling DCD and
  140.     DTR in a 3B2 friendly manner.  I have done this with PEP's,
  141.     USR HST's, and MicroComm 9600 AX modems, without incident.
  142.  
  143. From: pen@cbnewsf.cb.att.com (paul.e.nepermann)
  144.  
  145. Here are the pinouts for the connectors from the 8 pin modular to
  146. the 25 pin adapters.
  147.  
  148.     8 pin modular to 25 pin RS232C Terminal/Printer
  149.     8 pin modular to 25 pin RS232C ACU Modem
  150.  
  151.           |       Terminal/Printer        |    ACU Modem
  152. 8 pin side    |    25 pin/male   |    25 pin/female |    25 pin
  153.           |              |              |
  154. 1  FG          |    FG    1     |    FG    1     | FG    1
  155. 2  CTS (in)   |    RTS    4     |    RTS    4     | CTS    5
  156. 3  TXD (out)  |    RXD    3     |    RXD    3     |    TXD    2
  157. 4  DTR (out)  |    DCD    8     |    DCD    8     | DTR    20
  158. 5  RXD (in)   |    TXD    2     |    RXD    2     | RXD    3
  159. 6  DCD (in)   |    DTR    20    |    DTR    20    | DCD    8
  160.           |    DSR    6     |              |
  161. 7  SG          |    SG    7     |    SG    7     | SG    7
  162. 8  RTS (out)  |    CTS    5     |    CTS    5     | RTS    4
  163.  
  164. ------------------------------------------------------------------------------
  165. Subject: 18 What is the u3b. newsgroup hierarchy?
  166. ------------------------------------------------------------------------------
  167.  
  168. Don't worry about it, you're not missing anything.  It's an almost
  169. completely dead hierarchy that used to be about 3B2's and 3B1's.
  170. Discussions about 3B2's have migrated to comp.sys.att, and discussions
  171. about 3B1's have migrated to comp.sys.3b1.
  172.  
  173. ------------------------------------------------------------------------------
  174. Subject: 19 What is the proper way to rebuild the kernel after tuning
  175.         kernel parameters?
  176. ------------------------------------------------------------------------------
  177.  
  178. # cp /unix /oldunix
  179. # cd /etc/master.d
  180.  
  181. Edit your kernel parameters
  182.  
  183. # cd /boot
  184. # mkboot -k KERNEL
  185. # cd /
  186. # sysadm firmware
  187.  
  188. Once in firmware mode, have the 3B2 boot using /etc/system
  189.  
  190. ------------------------------------------------------------------------------
  191. Subject: 20 Which GNU packages DON'T run on the 3B2?
  192. ------------------------------------------------------------------------------
  193.  
  194. Most software from the Free Software Foundation compiles and runs
  195. on 3B2s with little or no modification.  The following are exceptions
  196. and their reasons.  Please prove me wrong, I'd love to have some
  197. of this stuff on my 3B2 as well.
  198.  
  199. gdb    - GNU Debugger
  200.       No configuration files for WE32K processor.
  201.  
  202. libg++    - C++ Libraries
  203.       The g++ compiler produces invalid assembler code for one
  204.       of the modules.
  205.  
  206.  
  207. ------------------------------------------------------------------------------
  208. Subject: 21 How do I put a root and/or swap partition on a SCSI drive
  209.             on a 3B2/300|310|400?
  210. ------------------------------------------------------------------------------
  211.  
  212. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  213.  
  214. [This is intended for experienced 3B2 system administrators only.
  215.  You can lose all the data on your system if a mistake is made.
  216.  You should make a full system backup before you try this.  Heck,
  217.  make two just to be sure.  Do this at your own risk!]
  218.  
  219. Well, I have managed to get a SCSI drive interfaced to my unix system.
  220. I thought that while this is all fresh in my mind, that I would type
  221. this document and make it available to the Net.  I also am keeping a
  222. copy of it to aid me if I need to do this again.  The EMAIL message by
  223. geoff describing the edittbl process was invaluable to me.  But it
  224. still took 30 hours for me to get it to work.  Hopefully the
  225. information here will make it easier for someone else trying to get
  226. this stuff to work.
  227.  
  228. I have a 3B2/400 computer system, with the following required hardware
  229. and software:
  230.  
  231. 1 SCSI Host Adaptor Card.
  232. 1 SCSI cable.
  233. 1 brand new SCSI disk drive. In this case a Quantum 170 Meg drive.
  234.  
  235. Software Required.
  236. cd /usr/options
  237. grep -i scsi *
  238. scsi.name:AT&T 3B2 SCSI Host Adapter Utilities Release 1.0
  239. sd01.name:AT&T 3B2 SCSI Disk Controller Utilities Release 3.0
  240.  
  241. You need the SCSI host adaptor utilities, and disk controller
  242. utilities.  If you don't have the SCSI card, and the software, don't
  243. bother trying it.
  244.  
  245. Here's what I did.
  246.  
  247. prtconf  <-- Take down what SCSI addresses you currently have in use.
  248.              Look under SCSI at the ID: number.
  249.  
  250. Jumper your new hard disk to an unused SCSI ID: number (0-7) (don't
  251. forget about terminating resistors.)
  252.  
  253. I didn't do this and wasted a few hours because I managed to pick one
  254. of the few "used" address's.  BTW, Address 0 is always used on a 3B2.
  255. SCSI host adaptor takes this address.
  256.  
  257. Power Down the 3B2.
  258. Connect the new SCSI drive to the 3B2 SCSI bus.
  259. Power the 3B2 on.
  260.  
  261. With finger on the CTRL-S or printscreen, watch the machine boot. As it
  262. comes up it will say something like:
  263.  
  264. unknown device "QUANTUM ELS170S         3.5" not configured (*void).
  265.   (TC:0, ID:2)
  266. {Gee, maybe I am installing a Quantum 170 on my 3b2 at address 2 eh??}
  267.  
  268. Write all this down, and ensure you got it right.  The 3B2 usually
  269. tries to scroll it off right away for you, to be helpful :-}
  270.  
  271. logon as root.
  272. cd /etc/scsi
  273. ./edittbl -l     <-- The idea here is to view how SCSI disk entries are
  274.                      formatted.  I'll show you what I did here to get the
  275.                      QUANTUM 170 up.
  276. ./edittbl -i     <-- We want to insert a new entry.
  277. Enter Vendor ID: QUANTUM
  278.             The vendor ID must be padded out to 8 characters.  So add one
  279.             space on the end of quantum to pad it out to 8 characters.
  280. Enter Product ID: ELS170S         
  281.             The vendor id entered must be 16 characters.  The "3.5" won't
  282.             fit in 16 characters, hence I simply added 9 spaces onto the
  283.             end until I had 16 characters.
  284. AT&T Device Name: SD01
  285.             SD01 = disk drive
  286.             ST01 = tape drive
  287. TC Driver type: 0x001
  288. Enter Peripheral Device Type: 0x000       <-- Most cases.  1 = tape
  289.                                                            0 = disk
  290. Max lu supported: 0x001       <--- How many logical units, or if you like
  291.                                    subdevices are here.  Usually 1.
  292.  
  293. The system then asks again what vendor ID again.
  294.  
  295. Enter Vendor ID: <CTRL-D>    <--- CTRL-D to update and exit.
  296.                                   Interrupt to exit without save
  297.  
  298.     Next...
  299.  
  300. cd to /usr/lib/scsi
  301.  
  302. Next, you want to edit the tc.index file.   Add an entry for your hard
  303. disk similar to the others.  Here's what I did for the Quantum.
  304.  
  305. QUANTUM ELS180S         3.09
  306. sd00.0
  307.  
  308. Again, QUANTUM padded to 8 chars, ELS170S.  Must be at least 16 chars
  309. long.  In my case I went "over it".
  310.  
  311. sysadm reboot     <--- Reboot machine.
  312.  
  313. Once machine is up, 
  314.  
  315. sysadm single     <--- Go to single user mode.
  316.                        Rumor has it that formatting needs single user mode.
  317.  
  318. cd /usr/lib/scsi  
  319. ./format -v /dev/xxxxxx   <-- In my case /dev/rdsk/c1t6d0s6
  320.               <-- c1 = controller #1, t6 = scsi ID number
  321.               <-- d0 = disk 0, and s6 = partition number
  322.  
  323. sysadm partitioning       <-- to add simple data partitions to the system
  324.               <-- and add them
  325.  
  326.       or
  327.  
  328. In my case, since I wanted the SCSI disk to replace my existing boot
  329. disk, you can't use sysadm partitioning.  Instead, you have to do it in
  330. a more manual mode.  I could use a SLOW MFM drive for critical things
  331. like root, swap and /usr, or I could use a nice BRAND NEW SCSI drive
  332. for this, and use the MFM's for other less critical things.
  333.  
  334. To become a bit more farmilliar with how your disks are setup, you can
  335. try the below in safety.  prtvtoc only displays the current settings.
  336.  
  337. prtvtoc /dev/dsk/c1d0s6   <-- Display partitions on my BOOTABLE CD WREN
  338.                               70 Meg MFM hard disk. A standard one for most
  339.                               3B2 systems.
  340. prtvtoc /dev/dsk/c1d1s6   <-- This displays the second partition settings for
  341.                               the second MFM hard disk on a 3B2.
  342.  
  343. If the above does not work, you may cat /etc/fstab and this will show
  344. you most of your disks.  You could also check /etc/system for your
  345. root partitions name.
  346.  
  347. In my case, I decided to store these configurations in /etc/vtoc, since
  348. it makes sense to know what's in your partition tables.  The manuals
  349. made mention of this vtoc directory.  When I got there, this was an
  350. empty directory so I decided to populate it.
  351.  
  352. cd /etc/vtoc
  353. prtvtoc /dev/rdsk/c1d0s6 > c1d0s6.vtoc
  354. prtvtoc /dev/rdsk/c1d1s6 > c1d1s6.vtoc
  355.  
  356. Since we want to add partitions to the newly added SCSI disk, what I
  357. did is.   Remember to select the correct device id for the disk your
  358. adding.
  359.  
  360. fmthard /dev/rdsk/c1t6d0s6
  361.  
  362. This will install an unparitioned vtoc (volume table of contents, or
  363. partition table if you prefer).  This gave me some badly needed
  364. information about how many sectors are usable on the disk.
  365.  
  366. I then would recommend:
  367.  
  368. cd /etc/vtoc
  369. prtvtoc /dev/rdsk/c1t6d0s6 > c1t6d0s6.vtoc
  370.  
  371. Funny thing about prtvtoc.  It's output can be read by the partitioning
  372. program to re-create your partitions!!!  Nice touch don't you think.
  373.  
  374. I then went and edited this file's partition tables entries such that I
  375. would have 20 Meg root, 140 Meg /usr and 8 Megs of swap.
  376.  
  377. Here is what it looked like when I finished for my Quantum drive:
  378.  
  379. * /dev/rdsk/c1t6d0s6 partition map
  380. *
  381. * Dimensions:
  382. *     512 bytes/sector
  383. *      63 sectors/track
  384. *       4 tracks/cylinder
  385. *     252 sectors/cylinder
  386. *    1325 cylinders
  387. *    1323 accessible cylinders
  388. *
  389. * Flags:
  390. *   1: unmountable
  391. *  10: read-only
  392. *
  393. *                          First     Sector    Last
  394. * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  395.        0      2    00        100     40986     41085
  396.        1      3    01      41086     16384     57469
  397.        2      4    00      57470    275926    333395
  398.        6      0    01          0    333396    333395
  399.        7      0    01          0       100        99
  400.  
  401.  
  402. Partition 0 is a root file system.  Starting at sector 100, going to
  403. sector 41085, making a total of 41085 - 100 + 1 = 40986 sectors.
  404.  
  405. Partition 1 is my swap partition.  I started this one at sector num
  406. 41086 to 57469, making a total of 57469 - 41086 +1 = 16384 sectors, or
  407. 8 Meg of swap (16384 * 512 bytes/sector = 8Meg).  I also positioned
  408. this as close to the center of the drive as possible, to try and make
  409. it more accessible.  I want speedy access to this area.  Putting it at
  410. the beginning of the drives, means that when the 3B2 has to read a
  411. swapped process, its got to seek to the beginning of the drive.  I save
  412. myself a bit of seek time.
  413.  
  414. Partition 2 is my /usr file system.
  415.  
  416. Partition 6 defines the total length of the drive.
  417.  
  418. Partition 7 defines the BOOT area of the drive.  I selected the
  419. beginning of the drive.  I suspect you could move it anywhere, but for
  420. me the beginning is good enough.
  421.  
  422. The TAGS also seem to define the type of partition, hence you should
  423. follow the TAG & FLAG examples shown above.  If your just adding a data
  424. disk, let sysadm partition do the dirty work for you.
  425.  
  426. One observation is fmthard does not format a hard disk. I think a name
  427. like makevtoc would be a bit better choice of a name.  Oh well, who
  428. said unix makes sense anyway!!!
  429.  
  430. Ok, now that the file is all edited just right, time to partition the
  431. disk:
  432.  
  433. fmthard -s /etc/c1t6d0s6.vtoc /dev/rdsk/c1t6d0s6 
  434.  
  435. I would recommend doing a prtvtoc to ensure that you got everything
  436. right.  prtvtoc will declare if you had any problems.  EG: unused
  437. sectors and such.
  438.  
  439. Now that the disk is partitioned, it's time to make it a bootable
  440. disk.  I tried to get newboot to work and couldn't.  So I went and used
  441. dd to get the job done:
  442.  
  443. dd if=/dev/dsk/c1d0s7 of=/dev/dsk/c1t6d0s7
  444.  
  445. And POOF!  Instant boot disk.
  446.  
  447. Next, we must use mkfs to create the file systems.  Again, the
  448. /etc/vtoc directory contains most of the answers.  In this case the
  449. number of sectors for each mountable partition.
  450.  
  451. mkfs /dev/dsk/c1t6d0s0 40986:5120 10 126 -b 1024   <-- makes root file sys
  452.  
  453.  40986 = total number of sectors.
  454.   5120 = total number of inodes (total number of files you can create)
  455.     10 = gap. Floppy this should be 1, on my box 10.  It's in the
  456.      manuals.  Your system may be somewhat different for gap.
  457.      Since I have a 3B2/400 at 10MHz, 10 is good.
  458.    126 = Blocks per track.  In the prtvtoc output it says 252 sectors
  459.      per cylinder.  Since each sector is 512 bytes, and my block
  460.      size is 1024.  You get 512/1024 * 252 to get 126 blocks per
  461.      cylinder.
  462.   1024 = I want a 1K/block file system.  I sure could use 2K file
  463.          system software.
  464.  
  465. I got 5120 from a df -lt command.  The current configuration AT&T
  466. provided for my root file system.  Seems good enough for me.
  467.  
  468. mkfs /dev/dsk/c1t6d0s2 275926:40000 10 126 -b 1024  <-- makes my /usr file sys
  469.  
  470. I kinda trumped up my inodes here.  It's always good to have enough
  471. Inodes, and a dam pain when you run out.  I wanted to ensure I had
  472. enough.  Adding more later means the destruction of all files on the
  473. file system and a restore from tape to recover.
  474.  
  475. mkfs to partition 1 (the swap area) is not very useful. Also mkfs to
  476. partition 6 in also not a smart idea.
  477.  
  478. Next it is time to label the file system.  This is a job for the
  479. labelit command.
  480.  
  481. labelit /dev/dsk/c1t6d0s0 /
  482. labelit /dev/dsk/c1t6d0s2 /usr
  483.  
  484. mount each newly created file system(s).   For me, I did the following:
  485.  
  486. cd /
  487. mkdir user
  488. mkdir root
  489. mount /dev/dsk/c1t6d0s0 /root
  490. mount /dev/dsk/c1t6d0s2 /user
  491.  
  492. OK, now that we have our file systems online, it's time to copy the
  493. files over to this new file system.  Here's what I did:
  494.  
  495. cd /
  496. find . -mount -print | cpio -pvdlm /root  
  497.  
  498. This copies all files on ONLY THE ROOT {/} FILE SYSTEM to the /root
  499. file system.
  500.  
  501. cd /usr
  502. find . -print | cpio -pvdlm /user
  503.  
  504. Copies all files on /usr as well as any other file systems below /usr
  505. to the /user file system.  You could use the -mount option to limit
  506. this.  In my case there are no other file systems, so who cares :-}.
  507.  
  508. OK, now all needed files are now on my SCSI drive. Only problem is I
  509. can't boot off the scsi's / file system.
  510.  
  511. cd /root/etc
  512. vi system
  513.  
  514. While you edit this file, you'll find a section all commented out.
  515. The default looks like:
  516.  
  517. * System device specifications
  518. *
  519. * NOTE:  With VTOC, specifications are not required.
  520. *      following is an example of what should go here
  521. *
  522. *    ROOTDEV: /dev/idsk00
  523. *    PIPEDEV: /dev/idsk00
  524. *    SWAPDEV: /dev/swap 0 3528
  525.  
  526. I changed my /root/etc/system files entries to look like:
  527.  
  528. * System device specifications
  529. *
  530. * NOTE:  With VTOC, specifications are not required.
  531. *      following is an example of what should go here
  532. *
  533. ROOTDEV: /dev/dsk/c1t6d0s0
  534. PIPEDEV: /dev/dsk/c1t6d0s0
  535. SWAPDEV: /dev/dsk/c1t6d0s1 0 16384
  536.  
  537. I ran into a terrible problem, and could not get the SCSI drive to
  538. boot.  The system would start booting off the SCSI, and then switch
  539. midstream to the MFM drives on me.   This was horrible, and I could not
  540. find anything in the docs to help.  Editing the /etc/system was the
  541. only way I could get it to work.  If there is a better way, I would
  542. appreciate hearing about it.
  543.  
  544. Since the SCSI is the new root file system, you'll have to ensure that
  545. all mount point directories are re-created on your file system
  546. replacements.  All file system mountpoints will be nonexistant on your
  547. new file systems.
  548.  
  549. mkdir /usr
  550.  
  551. Now you need to select which file systems you want mounted at boot
  552. time.
  553.  
  554. cd /etc
  555. vi fstab
  556.  
  557. In my case, the default file looked like:
  558.  
  559. /dev/dsk/c1d1s2 /usr  
  560. /dev/dsk/c1d0s8 /usr2  
  561.  
  562. I changed it to:
  563.  
  564. /dev/dsk/c1t6d0s2 /usr
  565. /dev/dsk/c1d0s8 /usr2  
  566.  
  567. And remember to ensure the mount directories DO exist.
  568.  
  569. sysadm firmware
  570.  
  571. MCP is usually the Password for most dos based systems.
  572.  
  573. For the boot file name, type in /etc/system
  574.  
  575. For the load device, select SCSI
  576.  
  577. For the subdevice, select the SCSI disk.
  578.  
  579. The system will produce a warning about the devices.  I don't know if I
  580. did all the correctly, but it seems to work.  I tried to find the
  581. answer to my boot disk problem in the docs, but failed.  I assume the
  582. warnings are caused by the 3B2's OS assuming the existence of only MFM
  583. drives.
  584.  
  585. If the machine boots, and your df -lt reports a SCSI root file system,
  586. and a SCSI /usr, then it worked.
  587.  
  588. Next you'll have to use sysadm autold to select the SCSI boot device.
  589.  
  590. Hope this helps, and may be kept available to help someone else get
  591. SCSI disks on their 3B2 as well.
  592.  
  593. Cheers....
  594.                     ---- Robb ----
  595.  
  596. ------------------------------------------------------------------------------
  597. Subject: 22 How do I take a crash dump?
  598. ------------------------------------------------------------------------------
  599.  
  600. From: hak@alf.cooper.edu (Jeff Hakner)
  601.  
  602. The procedure is given in the SAG, but anyway:
  603.     After the system panics and gives you the SYSTEM FAILURE...
  604.     message, type the firmware password.  You'll need 6 formatted
  605.     floppies.  For program name, type sysdump.  This is a firmware
  606.     program, so it won't ask for a device.
  607.  
  608.     Insert the first floppy, hit c, as per directions on screen.
  609.     Continue for the remaining floppies.  This process takes ~15
  610.     minutes.
  611.  
  612.         After the dump is complete, (remove the floppy and) boot unix.
  613.  
  614.     When the system is up, find a filesystem with at least 4MB
  615.     free.  Run ldsysdump filename, where filename is the name of
  616.     the image file which will be created.  Once again, feed it the
  617.     6 disks (in sequence) as prompted.
  618.  
  619.     When this is done, filename will contain the core image of the
  620.     crashed system.  To analyze, use crash filename.
  621.  
  622.         (Of course, if you don't know how to use crash.....)
  623.  
  624. ==============================================================================
  625. ==============================================================================
  626.  
  627. To get the latest copy of this FAQ, send a mail message to
  628.     mail-server@rtfm.mit.edu
  629.  
  630. The body of your mail should contain a command to the mail server.
  631. To get all the parts of this FAQ (currently consisting of 2 parts),
  632. place the following command in the body of your message:
  633.     send usenet/news.answers/3b2-faq/*
  634.  
  635. To request only one part, substitute the part number as in the
  636. following example:
  637.     send usenet/news.answers/3b2-faq/part1
  638.  
  639. Please remember to leave the Subject: line blank to reduce the
  640. chance of confusing the server.
  641.  
  642. ==============================================================================
  643. ==============================================================================
  644. If you have any other questions, or better answers, please send
  645. mail to 'greg@gagme.chi.il.us'
  646. ==============================================================================
  647. -- 
  648. Gregory A. Gulik                                 Call Gagme, a public access
  649.        greg@serveme.chi.il.us                    UNIX system at 312-282-8606
  650.    ||  gulik@rtsg.mot.com                        For information, drop a note
  651.                                                  to info@gagme.chi.il.us
  652. Gagme offers service without an "attitude"
  653.